Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retries to the end-2-end tests. #253

Merged
merged 1 commit into from
May 13, 2024

Conversation

blester125
Copy link
Collaborator

This PR adds the ability to do a limited number of retries (3) for end2end tests. Often the windows tests will fail during CI (an error about the event loop being closed) crashing the whole end2end ci pipeline.

As these are flaky, not broken, re-running the failed tests often fixes the problem. But this is annoying to have to get and email and click re-run each time it happens. This new version will rerun failed tests automatically, logging when a test that passed needed multiple tires. Hopefully this makes the windows issue less annoying going forward.

Related to #249, need to verify the retries work/make windows more reliable before we close it.

@blester125
Copy link
Collaborator Author

image

The new retries work, in this run, the smudge test would have crashed the pipeline. Instead it was re-run, worked, and the pipeline passed.

closes #249

@blester125 blester125 requested review from craffel and muqeeth May 9, 2024 19:31
@blester125 blester125 linked an issue May 9, 2024 that may be closed by this pull request
This PR adds the ability to do a limited number of retries (3) for
end2end tests. Often the windows tests will fail during CI (an error
about the event loop being closed) crashing the whole end2end ci
pipeline.

As these are flaky, not broken, re-running the failed tests often fixes
the problem. But this is annoying to have to get and email and click
re-run each time it happens. This new version will rerun failed tests
automatically, logging when a test that passed needed multiple tires.
Hopefully this makes the windows issue less annoying going forward.
@blester125 blester125 force-pushed the chore/rerun-tests branch from 89affb7 to c6b6a8f Compare May 13, 2024 19:10
@blester125 blester125 merged commit d3c288d into r-three:main May 13, 2024
19 checks passed
@blester125 blester125 deleted the chore/rerun-tests branch May 13, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add retry to end2end tests
2 participants